home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / include / RCS / validate.h,v < prev    next >
Encoding:
Text File  |  1990-02-15  |  1.6 KB  |  67 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     90.02.14.16.17.55;  author tve;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @Original X11R4 distribution
  17. @
  18.  
  19.  
  20.  
  21. 1.1
  22. log
  23. @Initial revision
  24. @
  25. text
  26. @/* $XConsortium: validate.h,v 5.1 89/07/21 13:58:27 keith Exp $ */
  27.  
  28. /*
  29. Copyright 1989 by the Massachusetts Institute of Technology
  30.  
  31. Permission to use, copy, modify, and distribute this software and its
  32. documentation for any purpose and without fee is hereby granted,
  33. provided that the above copyright notice appear in all copies and that
  34. both that copyright notice and this permission notice appear in
  35. supporting documentation, and that the name of M.I.T. not be used in
  36. advertising or publicity pertaining to distribution of the software
  37. without specific, written prior permission.  M.I.T. makes no
  38. representations about the suitability of this software for any
  39. purpose.  It is provided "as is" without express or implied warranty.
  40. */
  41.  
  42. #ifndef VALIDATE_H
  43. #define VALIDATE_H
  44.  
  45. #include "miscstruct.h"
  46. #include "regionstr.h"
  47.  
  48. typedef enum { VTOther, VTStack, VTMove, VTUnmap, VTMap } VTKind;
  49.  
  50. typedef union _Validate {
  51.     struct BeforeValidate {
  52.     DDXPointRec    oldAbsCorner;    /* old window position */
  53.     RegionPtr    borderVisible;    /* visible region of border, */
  54.                     /* non-null when size changes */
  55.     Bool        shrunk;        /* an inside dimension has shrunk */
  56.     } before;
  57.     struct AfterValidate {
  58.     RegionRec    exposed;    /* exposed regions, absolute pos */
  59.     RegionRec    borderExposed;
  60.     } after;
  61. } ValidateRec, *ValidatePtr;
  62.  
  63. #define UnmapValData ((ValidatePtr)1)
  64.  
  65. #endif /* VALIDATE_H */
  66. @
  67.